package com.yjd.comm.spread.model;

import com.yjd.comm.base.model.Model;

/**
 * <b>description</b>：人人推广关系表模型<br>
 * <b>time</b>：2015-10-09 20:10:44 <br>
 * <b>author</b>：  SongJian
 */
@SuppressWarnings("serial")
public class SpreadRelationModel extends Model{
	 /*
	  *id 
	  */
	private java.lang.Long id;
	 /*
	  *推广用户ID 
	  */
	private Long spreader;
	 /*
	  *推广文案 
	  */
	private Long office_id;
	 /*
	  *注册用户 
	  */
	private Long register;
	/*
	 * 注册用户名
	 */
	private String username;
	 /*
	  *同1个推广员对不同的人可能会有多种奖励费率 
	  */
	private Double spread_rate;
	 /*
	  *层级 
	  */
	private java.lang.Integer incomeins;
	 /*
	  *推广类型 
	  */
	private int relation_type;
	 /*
	  *添加时间 
	  */
	private Long addtime;
	public java.lang.Long getId() {
		return id;
	}
	public void setId(java.lang.Long id) {
		this.id = id;
	}
	public Long getSpreader() {
		return spreader;
	}
	public void setSpreader(Long spreader) {
		this.spreader = spreader;
	}
	public Long getOffice_id() {
		return office_id;
	}
	public void setOffice_id(Long office_id) {
		this.office_id = office_id;
	}
	public Long getRegister() {
		return register;
	}
	public void setRegister(Long register) {
		this.register = register;
	}
	public Double getSpread_rate() {
		return spread_rate;
	}
	public void setSpread_rate(Double spread_rate) {
		this.spread_rate = spread_rate;
	}
	public java.lang.Integer getIncomeins() {
		return incomeins;
	}
	public void setIncomeins(java.lang.Integer incomeins) {
		this.incomeins = incomeins;
	}
	public int getRelation_type() {
		return relation_type;
	}
	public void setRelation_type(int relation_type) {
		this.relation_type = relation_type;
	}
	public Long getAddtime() {
		return addtime;
	}
	public void setAddtime(Long addtime) {
		this.addtime = addtime;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	 
}
